-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MIG][17.0] l10n_vn: migrate to 17.0 #655
[MIG][17.0] l10n_vn: migrate to 17.0 #655
Conversation
5e0d8f5
to
8432983
Compare
for tax_group_xmlid in _account_tax_group_xmlid: | ||
new_xmlid = f"account.{company_id}_" + tax_group_xmlid.split(".")[1] | ||
xmlids_renames.append((tax_group_xmlid, new_xmlid)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@duong77476-viindoo có 2 công ty cùng dùng COA vn thì sao nhỉ?
16.0 đang dùng chung tax group giữa các công ty, anh nghĩ lên 17 sẽ cần xử như sau:
tax group sẽ đổi xml với tiền tố công ty đầu tiên, nếu có các công ty khác nữa thì phải nhân bản lên với xmlid tương ứng
account tax cũng tương tự
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E có for company trên rồi mà anh, 2 công ty Vn thì 1 cty id là 2 1 cty với id là 3 thì vẫn đúng mà ta
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@duong77476-viindoo em đang dùng rename xml, thì chỉ có 1xml mà em renamed thành 2 cái thì đâu có đúng đâu?
trừ khi rename không có thì tạo mới
8432983
to
99bcd68
Compare
openupgrade_scripts/scripts/l10n_vn/17.0.2.0.3/pre-migration.py
Outdated
Show resolved
Hide resolved
65ca3f5
to
98f6d67
Compare
Depend #652
https://viindoo.com/web#id=90952&cids=1&menu_id=289&action=409&active_id=475&model=project.task&view_type=form